package equipments.enumeration;

import systems.languages.MultiLanguages;

/**
 * Provides all the different key for identify the part of the armor.
 * @author Baptiste Legrand & Benjamin Orman
 * @version 2.0
 */
public enum ArmorSlots implements EquipmentSlots {
    JACKET, GLOVES, PAULDRONS, PANTS, SHOES;
    
    @Override
    public EquipmentSlots getSlot(String value) {
      return ArmorSlots.valueOf(value);
    }

    @Override
    public String toString(EquipmentSlots equipment) {
      return MultiLanguages.getProperties("slots."+equipment+".label");
    }
    
}
